package com.yyk.yiliao.ui.gongyong.activity;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.yyk.yiliao.R;
import com.yyk.yiliao.base.BaseActivity;
import com.yyk.yiliao.ui.Main_Activity;

import butterknife.BindView;
import butterknife.OnClick;

public class PayFailure_Activity extends BaseActivity {


    @BindView(R.id.tv_black)
    TextView tvBlack;



    @Override
    public int getLayoutId() {
        return R.layout.activity_pay_failure;
    }

    @Override
    public void initView() {
        initToolbar();

    }

    private void initToolbar() {
        hidetoolBar();
    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.tv_black})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_black:
                Intent intent2 = new Intent(PayFailure_Activity.this, Main_Activity.class);
                startActivity(intent2);
                this.finish();
                break;
        }
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        startAct(Main_Activity.class,true);

    }
}
